Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix core refactor: StreamIO from common to core.common #707

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

Hailong-am
Copy link
Collaborator

Description

Fix core refactor: StreamIO from common to core.common

Issues Resolved

opensearch-project/OpenSearch#8157

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Hailong-am
Copy link
Collaborator Author

will fix this build error in separate PR, merge it to unblock downstream

* Exception is:
org.gradle.internal.execution.WorkValidationException: A problem was found with the configuration of task ':jacocoReport' (type 'JacocoReport').
  - Gradle detected a problem with the following location: '/Users/runner/work/notifications/notifications/notifications/core-spi/build/jacoco/test.exec'.
    
    Reason: Task ':jacocoReport' uses this output of task ':opensearch-notifications-core-spi:test' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':opensearch-notifications-core-spi:test' as an input of ':jacocoReport'.
      2. Declare an explicit dependency on ':opensearch-notifications-core-spi:test' from ':jacocoReport' using Task#dependsOn.
      3. Declare an explicit dependency on ':opensearch-notifications-core-spi:test' from ':jacocoReport' using Task#mustRunAfter.

@Hailong-am Hailong-am merged commit fd8fe22 into opensearch-project:main Jul 15, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 20, 2023
Signed-off-by: Hailong Cui <[email protected]>
(cherry picked from commit fd8fe22)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/notifications/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/notifications/backport-2.x
# Create a new branch
git switch --create backport-707-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 fd8fe22570987759869da4267464686643614805
# Push it to GitHub
git push --set-upstream origin backport-707-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/notifications/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport-707-to-2.x.

Hailong-am added a commit to Hailong-am/notifications that referenced this pull request Jul 24, 2023
Hailong-am added a commit that referenced this pull request Jul 25, 2023
…#707) (#719)

* Fix core refactor: StreamIO from common to core.common (#707)

Signed-off-by: Hailong Cui <[email protected]>
(cherry picked from commit fd8fe22)

* fix gradle run (#717)

Signed-off-by: Hailong Cui <[email protected]>

---------

Signed-off-by: Hailong Cui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants